package cn.wh.user.admin.action;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import cn.wh.common.Util.ConstantUtil;
import cn.wh.common.action.BaseAction;

@Component("indexAction")
@Scope("prototype")
public class IndexAction extends BaseAction
{
	// 登录成功后的首页
	public String main () {
		ConstantUtil.LOGGER.info("管理员登录成功，进入首页");
		return "main";
	}
	// 左侧菜单
	public String leftMenu () {
		ConstantUtil.LOGGER.info("左侧菜单");
		return "leftMenu";
	}
	
}
